package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;
import org.springframework.data.mongodb.core.mapping.Document;

import java.time.LocalDateTime;
import java.time.LocalDate;
import java.math.BigDecimal;
@Document(collection = "count")
@Data
public class Count {
    private BigDecimal amount;
    private String category;
    private LocalDateTime date;
    @TableId(type = IdType.AUTO)
    private String id;
}